<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <style>
        .enter{
            width: 400px;
            height: 350px;
            border: 1px solid;
            border-radius: 5px;
            position: absolute;
            left: 50%;top: 50%;
            transform: translate(-50%, -70%);
            background-image: url(../imgs/logo.png);
            background-repeat: no-repeat;
            background-position: center 35px;
            box-shadow: 2px 2px 9px gray;
        }
        form{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-top: 120px;
        }
        form>label{
            display: block;
            margin: 10px;
        }
        form a{
            text-decoration: none;
            font-size: 16px;
            color: rgb(80, 80, 80);
        }
        form button{
            font-size: 16px;
            display: block;
            float: left;
            margin: 40px 15px 20px;
            padding: 5px;
            text-decoration: none;
            border: 1px solid black;
            border-radius: 5px;
            text-align: center;
            box-shadow: 2px 2px 5px grey;
            background-color: #fff;
            color: rgb(80, 80, 80);
            cursor: pointer;
        }
    </style>
</head>
<body>
    <div class="enter">
        <form action="/" method="post">
            <label for=""><span>账号: </span><input type="text" name="account"></label>
            <span style="color: brown;font-size: 12px;"><%=warning1%></span>
            <label for=""><span>密码: </span><input type="password" name="password" maxlength="12"></label>
            <button>登录账号</button>
            <a href="/reg">注册账号</a>
        </form>
    </div>
</body>
</html>